package hero.mps.dao;

import com.github.pagehelper.Page;
import hero.mps.pojo.SetMeal;

import java.util.List;
import java.util.Map;


public interface SetMealDao {
    public void add(SetMeal setMeal);
    public void setSetMealAndCheckGroup(Map map);

    public Page<SetMeal> findByCondition(String queryString);

    public SetMeal findById(Integer id);

    public List<Integer> findCheckGroupIdsBySetMealId(Integer id);

    public void edit(SetMeal setMeal);

    public void deleteAssociation(Integer id);

    public void deleteSetMealById(Integer id);
}
